package base.day24;

import java.io.FileWriter;
import java.io.IOException;

public class MyIo2 {
    public static void main(String[] args) throws IOException {
        FileWriter fw=new FileWriter("E:\\java\\java project\\java-code\\a.txt");

        fw.write("张三");
        fw.flush();
        fw.write("666");
        fw.flush();
    }
}
